import { InvoiceStatus, InvoiceIsdefault } from '@/enum/invoice'

export interface InvoiceData {
	query:object
	params: {
		pageNum: number
		pageSize: number
	},
	list: Array<{
		id:string
		invoicetitle:string
		shopName: string
		taxnumber: string
		bankname: string
		bankaccount: string
		contactphone: string
		invoicingaddress: string
		isdefault:InvoiceIsdefault
	}>,
	delParams: {
		id:string
		status:number
	}
	total: number
}

export interface InvoiceAddData {
	form: {
		bankaccount: string
		bankname: string
		contactphone: string
		createid: string
		createname: string
		createtime: string
		id: string
		invoicetitle: string
		invoicingaddress: string
		isdefault: InvoiceIsdefault
		shopName: string
		shopid: string
		status: InvoiceStatus
		taxnumber: string
		updateid: string
		updatename: string
		updatetime: string 
		
	}
	pickAreaStr:string
	address: string
}